package cn.ithers.blog.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Data
public class FriendLinkDTO implements Serializable {


    @NotNull
    @ApiModelProperty(value = "友情链接名称", required = true)
    private String name;

    @NotNull
    @ApiModelProperty(value = "友情链接logo", required = true)
    private String logo;

    @NotNull
    @ApiModelProperty(value = "友情url", required = true)
    private String url;

    @ApiModelProperty(value = "顺序")
    private long order = 1;

    @ApiModelProperty(value = "友情链接状态(0表示不可用，1表示正常)")
    private String state = "1";
}
